<html xmlns:th="http://www.thymeleaf.org">
<th:block th:fragment="page_header">
    <!-- auto replace start-->
    <script type="text/javascript" src="/static/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery.json.js"></script>
    <!-- auto replace end-->
    <script type="text/javascript">
        var process_request = "";
    </script>
    <script type="text/javascript">
        //设为首页 www.ecmoban.com
        function SetHome(obj, url) {
            try {
                obj.style.behavior = 'url(#default#homepage)';
                obj.setHomePage(url);
            } catch (e) {
                if (window.netscape) {
                    try {
                        netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
                    } catch (e) {
                        alert("抱歉，此操作被浏览器拒绝！\n\n请在浏览器地址栏输入“about:config”并回车然后将[signed.applets.codebase_principal_support]设置为'true'");
                    }
                } else {
                    alert("抱歉，您所使用的浏览器无法完成此操作。\n\n您需要手动将【" + url + "】设置为首页。");
                }
            }
        }

        //收藏本站 bbs.ecmoban.com
        function AddFavorite(title, url) {
            try {
                window.external.addFavorite(url, title);
            } catch (e) {
                try {
                    window.sidebar.addPanel(title, url, "");
                } catch (e) {
                    alert("抱歉，您所使用的浏览器无法完成此操作。\n\n加入收藏失败，请使用Ctrl+D进行添加");
                }
            }
        }
    </script>

    <!--顶部导航-->
    <div class="indexw_header">
        <div class="top_nav">
            <script type="text/javascript">
                //初始化主菜单
                function sw_nav(obj, tag) {

                    var DisSub = document.getElementById("DisSub_" + obj);
                    var HandleLI = document.getElementById("HandleLI_" + obj);
                    if (tag == 1) {
                        DisSub.style.display = "block";


                    } else {
                        DisSub.style.display = "none";

                    }

                }
            </script>
            <div class="block">
                <!--顶部微博微信弹出区域-->
                <ul class="top_bav_l">
                    <li class="top_sc"> <a href="javascript:void(0);" onclick="AddFavorite('我的网站',location.href)">收藏本站</a> </li>
                    <li>关注我们：</li>
                    <li style="border:none" class="menuPopup" onMouseOver="sw_nav(1,1);" onMouseOut="sw_nav(1,0);"> <a id="HandleLI_1" href="javascript:;" title="微博" class="attention"></a>
                        <div id=DisSub_1 class="top_nav_box  top_weibo"> <a href="http://e.weibo.com/ECMBT" target="_blank" title="新浪微博" class="top_weibo"></a> <a href="http://e.t.qq.com/ecmoban_com" target="_blank" title="QQ微博" class="top_qq"></a> </div>
                    </li>
                    <li class="menuPopup" onMouseOver="sw_nav(2,1);" onMouseOut="sw_nav(2,0);"> <a id="HandleLI_2" href="javascript:;" title="微信" class="top_weixin"></a>
                        <div id="DisSub_2" class="weixinBox" style="display: none;"> <img src="/static/images/weixin.png" style="width:150px; height:190px;  background:#0000CC" width="150" height="190"> </div>
                    </li>
                </ul>
                <!--顶部微博微信弹出区域end-->
                <div class="header_r">
                    <!-- auto replace start-->
                    <script type="text/javascript" src="/static/js/transport_jquery.js"></script>
                    <script type="text/javascript" src="/static/js/utils.js"></script>
                    <!-- auto replace end-->
                    <font id="ECS_MEMBERZONE">

                        <!--{if $navigator_list.top}-->
                        <!-- {foreach name=nav_top_list from=$navigator_list.top item=nav} -->
                        <!-- wwl ignore -->
                        <!-- <a th:href="${nav.url}" {if $nav.opennew eq 1} target="_blank" {/if}></a> -->
                        <!-- wwl ignore -->
                        <!-- {if !$smarty.foreach.nav_top_list.last} -->
                        |
                        <!-- {/if} -->
                        <!-- {/foreach} -->
                        <!-- {/if} -->

                </div>
            </div>
        </div>
        <div class=" block header_bg" style="margin-bottom: 0px;">
            <div class="clear_f"></div>
            <div class="header_top logo_wrap">
                <div class="indexw_header_middleL"> <a class="logo_new" href="index.html"><img src="/static/images/logo.gif"  width="139" height="41"/></a> </div>
                <div class="indexw_slogan"></div>
                <div class="indexw_header_middleR">
                    <div class="indexw_header_input_border">
                        <div class="ser_n">
                            <form id="searchForm" class="searchBox" name="searchForm" method="get" action="search.php" onSubmit="return checkSearchForm()">
                                <input name="keywords" type="text" id="keyword" value="戒托" onclick="javascript:if(this.value=='戒托')this.value=''" class="indexw_header_input_text" />
                                <input type="submit" name="imageField" class="fm_hd_btm_shbx_bttn" value="搜 索">
                            </form>
                            <ul class="searchType none_f">
                            </ul>
                        </div>
                        <a href="flow.html" class="a_head_order"></a> </div>
                </div>
            </div>
        </div>
    </div>
    <div class="menu_box clearfix">
        <div class="block">
            <div class="menu">
                <!-- 循环菜单，把第一个设置为选中 -->
                <a th:each="item,stat : ${menuList}" th:class="${stat.index==0?'cur':''}" th:href="${item.url}">
                    <span th:text="${item.name}"></span> 
                </a>
            </div>
        </div>
    </div>
</th:block>
</html>